<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>App1976管理系统</title>
<!--                       CSS                       -->
<!-- Reset Stylesheet -->
<?php echo $this->load->view('admin/script_css');?>
</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
 <?php echo $this->load->view('admin/sidebar');?>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    
    <?php echo $this->load->view('admin/top');?>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>新闻列表</h3>

        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
          <!-- This is the target div. id must match the href of this div's tab -->
          <div class="notification attention png_bg"> <a href="#" class="close"><img src="/resources/admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
            <div> 删除后不可恢复，请谨慎操作！ </div>
          </div>
          <table>
            <thead>
              <tr>
                <th>
                  <input class="check-all" type="checkbox" />
                </th>
                <th>新闻标题</th>
                <th>发布时间</th>
                <th>发布人</th>
                <th>操作</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="6">
                  <div class="bulk-actions align-left">
                    <select name="dropdown">
                      <option value="option1">更新</option>
                      <option value="option2">编辑</option>
                      <option value="option3">删除</option>
                    </select>
                    <a class="button" href="#">应用</a> </div>
                    
                  <!--分页开始--><div class="pagination">
                  <!--  
                  <a href="#" class="number" title="1">1</a>
                  <a href="#" class="number current" title="3">3</a>
                  -->
                  <?php echo $this->pagination->create_links();?>
                  </div><!--分页结束-->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>
            <tbody>
            <?php foreach ($show as $row):?>
              <tr>
                <td>
                  <input type="checkbox" />
                </td>
                <td><a href="<?php echo site_url("admin/home/news_update/$row->id")?>"><?php echo $row->title;?></a></td>
                <td><?php echo date('Y-m-d',$row->date);?></td>
                <td><?php echo $row->author;?></td>
                <!--
                <td><?php //if ($row->cracked==0){echo "否";}else{echo "是";}?></td>
                --><td>
                  <!-- Icons -->
                  <a href="<?php echo site_url("admin/home/news_update/$row->id")?>" title="编辑"><img src="/resources/admin/images/icons/pencil.png" alt="编辑" /></a> 
                  <a href="<?php echo site_url("admin/home/news_delete_go/$row->id")?>" title="删除"><img src="/resources/admin/images/icons/cross.png" onclick="return confirm('确定将此记录删除?')" alt="删除" /></a> <!--a href="#" title="Edit Meta"><img src="/resources/admin/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a--> </td>
              </tr>
              <?php endforeach;?>

            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->

      </div>
      <!-- End .content-box-content -->
    </div>

    <!-- End Notifications -->
    <?php echo $this->load->view('admin/footer');?>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
</body>
<!-- Download From www.exet.tk-->
</html>
